<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.14"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>uartlite: xuartlite_l.h File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="HTML_custom.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="xlogo_bg.gif"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">uartlite
   </div>
   <div id="projectbrief">Xilinx SDK Drivers API Documentation</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.14 -->
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
  initMenu('',false,false,'search.php','Search');
});
</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('xuartlite__l_8h.html','');});
</script>
<div id="doc-content">
<div class="header">
  <div class="summary">
<a href="#define-members">Macros</a> &#124;
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle">
<div class="title">xuartlite_l.h File Reference</div>  </div>
</div><!--header-->
<div class="contents">
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="define-members"></a>
Macros</h2></td></tr>
<tr class="memitem:gacb96d217d7b77e8d517e9556d421db95"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__uartlite__v3__1.html#gacb96d217d7b77e8d517e9556d421db95">XUartLite_WriteReg</a>(BaseAddress,  RegOffset,  Data)&#160;&#160;&#160;XUartLite_Out32((BaseAddress) + (RegOffset), (u32)(Data))</td></tr>
<tr class="memdesc:gacb96d217d7b77e8d517e9556d421db95"><td class="mdescLeft">&#160;</td><td class="mdescRight">Write a value to a UartLite register.  <a href="group__uartlite__v3__1.html#gacb96d217d7b77e8d517e9556d421db95">More...</a><br /></td></tr>
<tr class="separator:gacb96d217d7b77e8d517e9556d421db95"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga41431b69c8c2c2829277a851d70b7bf6"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__uartlite__v3__1.html#ga41431b69c8c2c2829277a851d70b7bf6">XUartLite_ReadReg</a>(BaseAddress,  RegOffset)&#160;&#160;&#160;XUartLite_In32((BaseAddress) + (RegOffset))</td></tr>
<tr class="memdesc:ga41431b69c8c2c2829277a851d70b7bf6"><td class="mdescLeft">&#160;</td><td class="mdescRight">Read a value from a UartLite register.  <a href="group__uartlite__v3__1.html#ga41431b69c8c2c2829277a851d70b7bf6">More...</a><br /></td></tr>
<tr class="separator:ga41431b69c8c2c2829277a851d70b7bf6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gacef0be395bab4e7b6c4bc8c081ebe9cf"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__uartlite__v3__1.html#gacef0be395bab4e7b6c4bc8c081ebe9cf">XUartLite_SetControlReg</a>(BaseAddress,  Mask)&#160;&#160;&#160;<a class="el" href="group__uartlite__v3__1.html#gacb96d217d7b77e8d517e9556d421db95">XUartLite_WriteReg</a>((BaseAddress), XUL_CONTROL_REG_OFFSET, (Mask))</td></tr>
<tr class="memdesc:gacef0be395bab4e7b6c4bc8c081ebe9cf"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the contents of the control register.  <a href="group__uartlite__v3__1.html#gacef0be395bab4e7b6c4bc8c081ebe9cf">More...</a><br /></td></tr>
<tr class="separator:gacef0be395bab4e7b6c4bc8c081ebe9cf"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gac2c823eabd69cc7e34fa76921ea294dd"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__uartlite__v3__1.html#gac2c823eabd69cc7e34fa76921ea294dd">XUartLite_GetStatusReg</a>(BaseAddress)&#160;&#160;&#160;<a class="el" href="group__uartlite__v3__1.html#ga41431b69c8c2c2829277a851d70b7bf6">XUartLite_ReadReg</a>((BaseAddress), XUL_STATUS_REG_OFFSET)</td></tr>
<tr class="memdesc:gac2c823eabd69cc7e34fa76921ea294dd"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the contents of the status register.  <a href="group__uartlite__v3__1.html#gac2c823eabd69cc7e34fa76921ea294dd">More...</a><br /></td></tr>
<tr class="separator:gac2c823eabd69cc7e34fa76921ea294dd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gad03599e323029e7b9263f1bd458cd5ce"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__uartlite__v3__1.html#gad03599e323029e7b9263f1bd458cd5ce">XUartLite_IsReceiveEmpty</a>(BaseAddress)</td></tr>
<tr class="memdesc:gad03599e323029e7b9263f1bd458cd5ce"><td class="mdescLeft">&#160;</td><td class="mdescRight">Check to see if the receiver has data.  <a href="group__uartlite__v3__1.html#gad03599e323029e7b9263f1bd458cd5ce">More...</a><br /></td></tr>
<tr class="separator:gad03599e323029e7b9263f1bd458cd5ce"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga63565710e31e2c07851858e835016086"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__uartlite__v3__1.html#ga63565710e31e2c07851858e835016086">XUartLite_IsTransmitFull</a>(BaseAddress)</td></tr>
<tr class="memdesc:ga63565710e31e2c07851858e835016086"><td class="mdescLeft">&#160;</td><td class="mdescRight">Check to see if the transmitter is full.  <a href="group__uartlite__v3__1.html#ga63565710e31e2c07851858e835016086">More...</a><br /></td></tr>
<tr class="separator:ga63565710e31e2c07851858e835016086"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gafa2025650e6a0618c0527ca224fe3db3"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__uartlite__v3__1.html#gafa2025650e6a0618c0527ca224fe3db3">XUartLite_IsIntrEnabled</a>(BaseAddress)</td></tr>
<tr class="memdesc:gafa2025650e6a0618c0527ca224fe3db3"><td class="mdescLeft">&#160;</td><td class="mdescRight">Check to see if the interrupt is enabled.  <a href="group__uartlite__v3__1.html#gafa2025650e6a0618c0527ca224fe3db3">More...</a><br /></td></tr>
<tr class="separator:gafa2025650e6a0618c0527ca224fe3db3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga60612a3ae00273a06a2905f6cfd7b10f"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__uartlite__v3__1.html#ga60612a3ae00273a06a2905f6cfd7b10f">XUartLite_EnableIntr</a>(BaseAddress)&#160;&#160;&#160;<a class="el" href="group__uartlite__v3__1.html#gacef0be395bab4e7b6c4bc8c081ebe9cf">XUartLite_SetControlReg</a>((BaseAddress), XUL_CR_ENABLE_INTR)</td></tr>
<tr class="memdesc:ga60612a3ae00273a06a2905f6cfd7b10f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Enable the device interrupt.  <a href="group__uartlite__v3__1.html#ga60612a3ae00273a06a2905f6cfd7b10f">More...</a><br /></td></tr>
<tr class="separator:ga60612a3ae00273a06a2905f6cfd7b10f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga6b2947c72dbab9e7397fcfcbca4e300f"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__uartlite__v3__1.html#ga6b2947c72dbab9e7397fcfcbca4e300f">XUartLite_DisableIntr</a>(BaseAddress)&#160;&#160;&#160;<a class="el" href="group__uartlite__v3__1.html#gacef0be395bab4e7b6c4bc8c081ebe9cf">XUartLite_SetControlReg</a>((BaseAddress), 0)</td></tr>
<tr class="memdesc:ga6b2947c72dbab9e7397fcfcbca4e300f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Disable the device interrupt.  <a href="group__uartlite__v3__1.html#ga6b2947c72dbab9e7397fcfcbca4e300f">More...</a><br /></td></tr>
<tr class="separator:ga6b2947c72dbab9e7397fcfcbca4e300f"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:gaac1bc87a3b2b3873eff73cc3b93c153d"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__uartlite__v3__1.html#gaac1bc87a3b2b3873eff73cc3b93c153d">XUartLite_SendByte</a> (UINTPTR BaseAddress, u8 Data)</td></tr>
<tr class="memdesc:gaac1bc87a3b2b3873eff73cc3b93c153d"><td class="mdescLeft">&#160;</td><td class="mdescRight">This functions sends a single byte using the UART.  <a href="group__uartlite__v3__1.html#gaac1bc87a3b2b3873eff73cc3b93c153d">More...</a><br /></td></tr>
<tr class="separator:gaac1bc87a3b2b3873eff73cc3b93c153d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga2cccdf9978fb4d1f7fab69a4b39e6e26"><td class="memItemLeft" align="right" valign="top">u8&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__uartlite__v3__1.html#ga2cccdf9978fb4d1f7fab69a4b39e6e26">XUartLite_RecvByte</a> (UINTPTR BaseAddress)</td></tr>
<tr class="memdesc:ga2cccdf9978fb4d1f7fab69a4b39e6e26"><td class="mdescLeft">&#160;</td><td class="mdescRight">This functions receives a single byte using the UART.  <a href="group__uartlite__v3__1.html#ga2cccdf9978fb4d1f7fab69a4b39e6e26">More...</a><br /></td></tr>
<tr class="separator:ga2cccdf9978fb4d1f7fab69a4b39e6e26"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
</div><!-- contents -->
</div><!-- doc-content -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="footer">Copyright &copy; 2015 Xilinx Inc. All rights reserved.</li>
  </ul>
</div>
</body>
</html>
